<template name="Result">
    <div style="width: 1000px;margin: 0 auto">

        {{#if logined}}
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h2 class="text-danger">结果列表：</h2>
                </div>
                <!-- Table -->
                <div class="panel-body">
                    {{> reactiveTable settings=tableSettings }}
                </div>
            </div>
        {{else}}
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h2 class="text-danger" style="text-align: center">管理员登陆</h2>
                </div>
                <!-- Table -->
                <div class="panel-body">
                    <div class="form-group">
                        <label for="exampleInputEmail1">用户名：</label>
                        <input type="text" class="form-control" id="admin" placeholder="请输入用户名">
                    </div>
                    <div class="form-group">
                        <label for="exampleInputPassword1">密码</label>
                        <input type="password" class="form-control" id="pass" placeholder="请输入密码">
                    </div>
                    <button type="submit" class="btn btn-default" id="Login">登陆</button>
                </div>
            </div>
        {{/if}}
    </div>
</template>